package com.example.learn.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author mfy
 */

@AllArgsConstructor
@NoArgsConstructor
@Data
public class FrontKnow {

    private int id;

//    @JsonProperty(value = "name")
    private String name;

    @JsonProperty(value = "techSite")
    private String techSite;
    private String writer;
    private String BSite;
    private String sortId;
    private String sortName;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
